﻿<Applications>
	<Application Name="DocumentManager" Type="EXECUTABLE">
		<ExtendedAttributes>
			<ExtendedAttribute Name="Type" Value="EXE"></ExtendedAttribute>
		</ExtendedAttributes>
		<Port>20100</Port>
		<Host>127.0.0.1</Host>
		<Functions>
			<Function Name="CreateDocument">
				<Parameters>
					<Parameter Name="IdMaster" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="DocumentName" Type="STRING" Mandatory="YES"></Parameter>
				</Parameters>
				<Result>
					<Parameters>
						<Parameter Name="IdDocument" Type="STRING"></Parameter>	
						<Parameter Name="DocumentVersion" Type="STRING"></Parameter>	
					</Parameters>
				</Result>
			</Function>
			<Function Name="AttachFile">
				<Parameters>
					<Parameter Name="IdMaster" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="DocumentName" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="FilePath" Type="DirFop" Mandatory="YES"></Parameter>
					<Parameter Name="FileName" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="FileExtension" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="Migrable" Type="STRING" Mandatory="YES"></Parameter>
				</Parameters>
				<Result>
				</Result>
			</Function>
			<Function Name="ExportPCM2PDF">
				<Parameters>
					<Parameter Name="DocumentPath" Type="DirFop" Mandatory="YES"></Parameter>
					<Parameter Name="IdMaster" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="DocumentName" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="ProcessId" Type="Number" Mandatory="YES"></Parameter>
				</Parameters>
				<Result>
				</Result>
			</Function>
			<Function Name="ExportPCM2PDFWithoutAttach">
				<Parameters>
					<Parameter Name="DocumentPath" Type="MillepianiDir" Mandatory="YES"></Parameter>
					<Parameter Name="IdMaster" Type="STRING" Mandatory="YES"></Parameter>
					<Parameter Name="ProcessId" Type="Number" Mandatory="YES"></Parameter>
				</Parameters>
				<Result>
				<Parameter Name="Proposal" Type="STRING"></Parameter>	
				</Result>
			</Function>
			</Functions>
		</Application>
</Applications>			
